package com.example.ecs.components.physics;

import com.example.ecs.core.Component;

/**
 * CollisionComponent类表示实体的碰撞组件
 */
public class CollisionComponent extends Component {
    public int width, height;
    public boolean solid = true; // 是否为固体，可以与其他实体碰撞
    
    public CollisionComponent(int width, int height) {
        this.width = width;
        this.height = height;
    }
}